package observer.desc;

public class Test {
    public static void main(String[] agrs){
        GuPiao gp=new GuPiao();
        GuMing g1=new GuMing("孙悟空");
        GuMing g2=new GuMing("猪八戒");
        GuMing g3=new GuMing("唐僧");
        gp.attach(g1);
        gp.attach(g2);
        gp.attach(g3);
        gp.setPrice(50.35);


    }
}
